{php echo register_jssdk();}
{template 'common/header'}
<title>金币二维码</title>
<style type="text/css">
body {margin:0px; background:#fff;}
.top {height:68px; background:#fff; border-bottom:#e3e3e3; overflow:hidden;}
.top .ico {height:44px; width:44px; margin:12px; background:#fe9900; border-radius:44px; font-size:30px; line-height:44px; text-align:center; color:#fff; float:left;}
.top .info1 {height:44px; padding:12px 0px; float:left;}
.top .info1 .t1 {height:22px; font-size:16px; color:#666; line-height:26px;}
.top .info1 .t2 {height:22px; font-size:13px; color:#999; line-height:20px;}
.top span {color:#ff6600}
.img {padding:1px;overflow:hidden;height:auto;padding-top:2px;}
.img img { width:80%;margin-left:10%;margin-right:10%;}

.info {height:auto; background:#fff; padding:10px; padding-bottom:80px; border-bottom:1px solid #eee; border-top:1px solid #eee;}
.info .title {height:38px; border-bottom:1px solid #eee; overflow:hidden;}
.info .title .ico {height:24px; width:24px; background:#fd6401; margin:7px 7px 7px 0px; border-radius:24px; font-size:12px; color:#fff; line-height:24px; text-align:center; float:left;}
.info .title .text {height:38px; line-height:38px; font-size:14px; color:#666; float:left;}
.info .con {height:auto; padding:10px 0px;}
.info .con .line {height:auto; overflow:hidden; margin-bottom:5px;}
.info .con .line .t1 {height:auto; width:55px; float:left; font-size:14px; color:#666; line-height:20px;}
.info .con .line .t2 {padding-left:0px; background:#f90;}
.info .con .line .t2 .t3 {height:auto; float:left; font-size:14px; color:#999;}
.info .info2 {height:auto; background:#fe924a; padding:10px; font-size:14px; color:#fff;}

.bottom {height:50px; width:100%; background:#fff; padding:10px; border-top:1px solid #eee; position:fixed; bottom:0px; left:0px; box-shadow:1px 2px 10px rgba(0,0,0,0.2);}
.bottom .sub {height:50px; width:46%; margin-left:2%; float:left; border:1px solid #eee; border-radius:3px; font-size:16px; line-height:50px; text-align:center; color:#666;}
.zhuanshu {text-align:center;font-size:18px;color:#666;background:#fff;padding-top:10px}
.erweima {text-align:center;font-size:28px;background:#fff;padding-top:5px}

</style> 
<script>
        wx.ready(function () {
        shareData = {
            'title' : "快来领取金币吧",
            'desc': "快来领取金币吧",
            'link': "http://wx.lanxuevip.com/app/index.php?i=5&c=entry&method=myshop&p=commission&op=gold_receive&m=ewei_shop&do=plugin&gold_id={$_GPC['gold_id']}",
            'imgUrl': "http://wx.lanxuevip.com/addons/ewei_shop/data/gold/5/{$list['id']}.png",
        };
        //分享朋友
    wx.onMenuShareAppMessage({
        title: shareData.title,
        desc: shareData.desc,
        link: shareData.link,
        imgUrl:shareData.imgUrl,
        trigger: function (res) {
        },
        success: function (res) {
        	window.location.href =adurl;
        },
        cancel: function (res) {
            alert('分享是一种美德哦！');
        },
        fail: function (res) {
            alert(JSON.stringify(res));
        }
    });
//朋友圈
    wx.onMenuShareTimeline({
        title: shareData.title,
        link: shareData.link,
        imgUrl:shareData.imgUrl,
        trigger: function (res) {
        },
        success: function (res) {
            window.location.href =adurl;
        },
        cancel: function (res) {
            alert('分享是一种美德哦！');
        },
        fail: function (res) {
            alert(JSON.stringify(res));
        }
        });
    });
    </script>
	<div class="zhuanshu">赠送金币二维码</div>
    <div class="img">
        <img src="http://wx.lanxuevip.com/addons/ewei_shop/data/gold/5/{$list['id']}.png" />
    </div>
	<div class="info">
        <div class="con">
          <div class="line">
          	<div class="t2">
            	<div class="t3">1.扫码二维码后，首先要关注小妖家平台（如未关注），然后填写个人信息，才能领取金币；</div>
          	</div>
          </div>
          <div class="line">
          	<div class="t2">
            	<div class="t3">2.领取完成后，可以在会员中心中查看金币；</div>
          	</div>
          </div>
          <div class="line">
          	<div class="t2">
            	<div class="t3">3.在金币商城中，配合现金使用，可以金币抵价部分商品金额；</div>
          	</div>
          </div>
  	    </div>
	</div>
{template 'common/footer'}
